package com.tuyrt.firstcode.kotlin.basic

/**
 * Created by tuyrt7 on 2021/4/6.
 */

fun main() {
    val name = "Android"
    val str = "this is $name developer"

    funHasDefaultValue()
}

/** 函数设置参数默认值 */
fun funHasDefaultValue(str: String = "default") {
    println("funHasDefaultValue is $str")
}